package com.quest.parallelDesign.entity;

/**
 * 订单信息
 */
public class OrderInfo {
    private CustomerInfo customerInfo;//用户信息
    private DiscountInfo discountInfo;//折扣信息
    private FoodListInfo foodListInfo;//菜单信息
    private TenantInfo tenantInfo;//租户信息
    private OtherInfo otherInfo;//其他信息

    public OrderInfo() {
    }

    public OrderInfo(CustomerInfo customerInfo, DiscountInfo discountInfo, FoodListInfo foodListInfo, TenantInfo tenantInfo, OtherInfo otherInfo) {
        this.customerInfo = customerInfo;
        this.discountInfo = discountInfo;
        this.foodListInfo = foodListInfo;
        this.tenantInfo = tenantInfo;
        this.otherInfo = otherInfo;
    }

    public CustomerInfo getCustomerInfo() {
        return customerInfo;
    }

    public void setCustomerInfo(CustomerInfo customerInfo) {
        this.customerInfo = customerInfo;
    }

    public DiscountInfo getDiscountInfo() {
        return discountInfo;
    }

    public void setDiscountInfo(DiscountInfo discountInfo) {
        this.discountInfo = discountInfo;
    }

    public FoodListInfo getFoodListInfo() {
        return foodListInfo;
    }

    public void setFoodListInfo(FoodListInfo foodListInfo) {
        this.foodListInfo = foodListInfo;
    }

    public TenantInfo getTenantInfo() {
        return tenantInfo;
    }

    public void setTenantInfo(TenantInfo tenantInfo) {
        this.tenantInfo = tenantInfo;
    }

    public OtherInfo getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(OtherInfo otherInfo) {
        this.otherInfo = otherInfo;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "customerInfo=" + customerInfo +
                ", discountInfo=" + discountInfo +
                ", foodListInfo=" + foodListInfo +
                ", tenantInfo=" + tenantInfo +
                ", otherInfo=" + otherInfo +
                '}';
    }
}
